<template>
  <iframe
    :src="dashboardUrl"
    class="dataease-iframe"
    frameborder="0"
    title="业务数据仪表板"
  ></iframe>
</template>

<script>
export default {
  name: 'SimpleDataEase',
  data() {
    return {
      dashboardId: '1188196702813818880'
    }
  },
  computed: {
    dashboardUrl() {
      return `http://localhost:8100/#/preview?dvId=${this.dashboardId}`
    }
  }
}
</script>

<style scoped>
.dataease-iframe {
  width: 100%;
  height: 100vh;
  border: none;
}
</style>